/// 错误编码
class ErrorCode {
  /// 网络错误
  static const int unknown = -1;

  /// 网络超时
  static const int timeout = -2;

  /// 网络返回数据格式不正确
  static const int jsonException = -3;

  /// 盒子下架 [15001]
  static const int boxDown = 15001;

  /// token 失效 [10009]
  static const int tokenInvalid = 10009;

  /// 请先登录 [11004]
  static const int shouldLogin = 11004;
  
  /// 设备在其他手机上登录了 [11005]
  static const int logout = 11005;

  /// 活动未开始 [19003]
  static const int activityNotStart = 19003;

  /// 活动已下架 [19001]
  static const int activityTakeDown = 19001;

  /// 活动已结束 [19004]
  static const int activityEnded = 19004;

  /// 戳戳乐 - 盒子已被开 [18007]
  static const int pokeBoxOpened = 18007;

  /// 戳戳乐 - 盒子被购买中 [18008]
  static const int pokeBoxBuying = 18008;

  /// 戳戳乐 - 本期已结束 [18009]
  static const int pokeRoundEnded = 18009;

  /// 戳戳乐 - 支付成功后查询开盒商品，后台还未处理完成。这时，需要等待一段时间后重新查询。[20001]
  static const int pokeWithoutOpenGoods = 20001;
}
